/*******************************************************************************
 * Copyright (c) 2003 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 ******************************************************************************/

package net.sourceforge.perforce.core.internal;

import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IPath;

/**
  * @version $Revision: 255 $
  * @author  <a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
public interface IWorkspaceHelper 
{
	// ------------------------------------------------------------------------------------- Methods
	
	/** Returns the handles of all files that are mapped to the given path 
	  * in the local file system.  Returns an empty array if there are none.
	  * The path must be absolute; its segments need not be valid names.
	  * The resulting file(s) need not exist in the workspace.
	  * <br/>
	  * Has been introduced for compatibility reasons.  
	  */	
	IFile[] findFilesForLocation(IPath path);
}
